package com.topvision.service.impl.glass;

import com.topvision.mapper.glass.SysuploadMapper;
import com.topvision.model.glass.Sysupload;
import com.topvision.service.glass.SysuploadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("sysuploadService")
public class SysuploadServiceImpl implements SysuploadService {
    @Autowired
    private SysuploadMapper sysuploadMapper;

    @Override
    public Sysupload queryObject(Integer id) {
        return sysuploadMapper.queryObject(id);
    }

    @Override
    public List<Sysupload> queryList(Map<String, Object> map) {
        return sysuploadMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return sysuploadMapper.queryTotal(map);
    }

    @Override
    public void save(Sysupload sysupload) {
        sysuploadMapper.save(sysupload);
    }

    @Override
    public void update(Sysupload sysupload) {
        sysuploadMapper.update(sysupload);
    }

    @Override
    public void delete(Integer id) {
        sysuploadMapper.delete(id);
    }

    @Override
    public void deleteBatch(Integer[] ids) {
        sysuploadMapper.deleteBatch(ids);
    }


}
